projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a75d995
)
vulkan: fix a clip handling problem
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 22 Sep 2017 22:48:36 +0000
(18:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 23 Sep 2017 02:16:10 +0000
(22:16 -0400)
We were looking at uninitialized memory here, instead
of the type of the source clip, as we should.
This showed up as mispositioned clip in the first frame
of a crossfade stack transition, and also as overdraw in
sliding stack transitions.
gsk/gskvulkanclip.c
patch
|
blob
|
history
diff --git
a/gsk/gskvulkanclip.c
b/gsk/gskvulkanclip.c
index 9a3ad8696f95cefa13552a71d3035d966b8beea6..e7696e6abfabd40d29fe3d483a63565654e2ddee 100644
(file)
--- a/
gsk/gskvulkanclip.c
+++ b/
gsk/gskvulkanclip.c
@@
-133,7
+133,7
@@
gsk_vulkan_clip_transform (GskVulkanClip *dest,
const graphene_matrix_t *transform,
const graphene_rect_t *viewport)
{
- switch (
dest
->type)
+ switch (
src
->type)
{
default:
g_assert_not_reached();